package net.lab1024.sa.admin.module.business.roland.domain.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 座位信息表 新建表单
 *
 * @Author dragon
 * @Date 2023-12-11 13:29:10
 * @Copyright dragon
 */

@Data
public class RolandSeaAddForm {

    @ApiModelProperty(value = "楼层", required = true)
    @NotNull(message = "楼层 不能为空")
    private Integer floor;

    @ApiModelProperty(value = "排号", required = true)
    @NotBlank(message = "排号 不能为空")
    private String seatRow;

    @ApiModelProperty(value = "座位号", required = true)
    @NotNull(message = "座位号 不能为空")
    private Integer seatNo;

    @ApiModelProperty(value = "位置：11左前，12左后，21中前，22中后，31右前，32右后", required = true)
    @NotNull(message = "位置 不能为空")
    private Integer position;

    @ApiModelProperty(value = "是否启用", required = true)
    @NotNull(message = "是否启用 不能为空")
    private Boolean status;

}